package demo.log;

import demo.log.slf4j.Slf4jTest;

public class LogDemo {

    org.slf4j.impl.StaticLoggerBinder a = null;

    public static void main(String[] args) throws InterruptedException {
        System.out.println("------------- start! -------------");
        for (int i = 0; i < 10; i++) {
            String msg = "Hello " + i;
            // slf4j
            Slf4jTest.logErr(msg);
            // log4j
//            Log4jTest.logErr(msg);
//

//            LogbackTest.logErr(msg);

//            Log4j2Test.logErr(msg);
            Thread.sleep(5000);
        }
        System.out.println("------------- end -------------");
    }
}
